<atomic>: Fix ARM64EC and CHPE codegen
#4222
Merged
<atomic>: Fix ARM64EC and CHPE codegen
#4222