Initial commit of arm_atomic functions

Initial commit of arm_atomic header, with pointer versions added. May
need further testing but initial tests show implementation is good.