VS: Explicitly disallow C++ modules provided by imported targets

The `-ifcOnly` flag is understood by MSBuild, but there are unresolved
questions about how to integrate with with CMake's model.

See: #25328
2 files changed