common.h: define GCC_VERSION.
atomic.hpp wrapper for C++'s atomic header added.