Use OSAtomicCompareAndSwap64Barrier.

Replacing atomic_mov64 with an implementation that just calls
OSAtomicCompareAndSwap64Barrier on all OSes.