Add test to ensure including <atomic> fails when _LIBCPP_HAS_NO_THREADS is defined.