compat/atomics: fix atomic_fetch_xor