cmImportedCxxModuleInfo: remove unused pointer field

Also avoids usage of an invalid `importit` when module names are not
available.
2 files changed