PR c++/71675 - __atomic_compare_exchange_n returns wrong type for typed enum