Transfer predefined macros, __STDC_NO_ATOMICS__ and __STDC_NO_THREADS__, from the AIX XL C/C++ compilers.
__STDC_NO_ATOMICS__ is needed because Open XL for AIX does not have C library atomics.
__STDC_NO_THREADS__ should be set until the OS implementation is complete because of conformance issues for AIX libc.
This patch replaces https://reviews.llvm.org/D103587.
Suggest pruning some of these. I don't think it's necessary to test every visible -std level.