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

...e