[ConstantMerge] Do not merge unnamed_addr into non-unnamed_addr
This implements the semantics in proposed in #247279.
This has limited practical impact (~300 byte increase in .rodata for a
clang binary) and helps with some semantics problems described in
the LangRef PR.
Fixes #63628.
Helps with #229138.
Assisted-By: LLM
Reviewers: efriedma-quic, nikic
Pull Request: https://github.com/llvm/llvm-project/pull/247287