x86 atomics: use lock prefix unconditionally
(cherry picked from commit 9c0b759bf9b520537616d026f21a0a98d70acd11)