Don't skip contents of unexposed cursors.
This broke declaration building inside extern "C" {} contexts.