[MIPS] Move die and die_if_kernel() from system.h to ptrace.h