This patch adds atomic functions for x86_64. Change-Id: I298c760a1e6efa2ce2c61a143f833b6785805442 Signed-off-by: Qiming Shi <qiming.shi@intel.com>