configure: Check for __atomic_add_fetch() and __atomic_load()