PCH: Fixed Ninja Multi-Config and REUSE_FROM for MSVC
The copy_idb_pdb.cmake
script would be executed for every configuration
for all configurations.
Debug would still want to get the RelWithDebInfo files, and the other way around.
Fixes: #21983 (closed)
Backport: release