Fall back to spinlocks if atomic ops are unavailable.