When protecting data modified by atomic operations, use __ha_barrier_atomic* to avoid unneeded barriers on x86.