x86: Add memory modify constraints to xchg() and cmpxchg()