x86: Convert set_atomicity_lock to raw_spinlock