CXX-245 Record atomics implementation selection in config.h at build time