PCH: Fix REUSE_FROM when Debug and RelWithDebInfo configs differ
If the Debug configuration contains /ZI
but the RelWithDebInfo doesn't
then the copy_pdb_idb.cmake script will cause problems due to the fact
that it was common for both configurations but they are incompatible
with each other.
Fixes the /ZI
part of #22502
Backport: release
Edited by Cristian Adam