Added an x86 CAS implementation using 'cmpxchg' inline