[PATCH v12 04/13] arm64/ptrace: Refactor syscall_trace_enter/exit()