i#1551 Port DynamoRIO to ARM: implement safe_read_asm and atomic_swap on ARM

Review-URL: https://codereview.appspot.com/186170043