ptrace: ptrace_attach: fix the usage of ->cred_exec_mutex