Use OSAtomicCompareAndSwap32 for @atomic_cas on iOS ARM

Using the intrinsic will trip up LLDB in an infinite loop.