fix arm atomics