i#1551 port to ARM: implement do_syscall gencode

Implements emit_do_syscall_common() for ARM, which requires implementing
insert_mov_immed_arch() and updating handle_system_call() in dispatch.

Xref original CL: https://codereview.appspot.com/188460043/

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