[libc++] Implement C++20 atomic_ref (#76647)

Implement the std::atomic_ref class template by reusing atomic_base_impl.
Based on the work from https://reviews.llvm.org/D72240

NOKEYCHECK=True
GitOrigin-RevId: 42ba740afffa16f991be6aa36626bd872d41ebc0
46 files changed