MIPS: ptrace: Use tracehook helpers.