[linker] We need to mark nested types even if the declaring type isn't marked.