Moves ptrace utilities to ptrace_utils.c