x86, cmpxchg: Unify cmpxchg into cmpxchg.h