MIPS: Split do_syscall_trace into two functions.