PCH: MSVC: Restrict OBJECT library INTERFACE_LINK_LIBRARIES usage

The pch object file could cause problems when the reused pch is passed
through an OBJECT library, which would use INTERFACE_LINK_LIBRARIES to
link the pch object file.

Fixes: #22630
3 files changed