Use `cc_common.merge_compilation_contexts` now that it's available instead of wrapping them in `CcInfo` providers and merging those.
Use `cc_common.merge_compilation_contexts` now that it's available instead of wrapping them in `CcInfo` providers and merging those.

PiperOrigin-RevId: 376883138
(cherry picked from commit a5eb3572b2c7eaf40ebc3a79ffcf1f08db8d4b63)

bazelbuild/rules_swift,bazelbuild/rules_swift