Add a C11 atomics-based implementation of atomic.h API.