x86 fetchAndStore,CmpAndStore, mcs_lock

and unit test for fetchAndStore,CmpAndStore

Signed-off-by: Hong Zhiguo <honkiko@gmail.com>