Update AtomicBoolean to use AotInterlocked to fix JIT on iOS bug.