Add a code path to use the GCC builtins for atomics, which are supported in older compiler versions, rather than the new <stdatomic.h>.
Add a code path to use the GCC builtins for atomics, which are supported in older compiler versions, rather than the new <stdatomic.h>.