[InstrProf] Set prof global variables to internal linkage if adding a comdat

COFF has a verifier check that private global variables don't have a comdat of the same name.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D131043

GitOrigin-RevId: 6e45162adfec14ef4f53ec99312cb26d23f929bc
3 files changed