Added implementation of atomic intrinsics using GCC built-ins, and use it on ARM.
ARM is 32-bit.
Added ARM v8 support