Added abstractions for storing and loading 32-bit and 64-bit values atomically. The functions currently use the GCC __atomic builtin atomics.