Fix atomic builtins test that currently fails for llvm+compiler_rt when gcc is not present (#18788)
Fix atomic builtins test that currently fails for llvm+compiler_rt only systems (no gcc) where atomic are builtin but __atomic_load_8 is not implemented
Signed-off-by: David C. Manuelda <StormByte@gmail.com>