Replace ifdef's with CPP_ATOMIC_* macros.