powerpc/ptrace: Use copy_{from, to}_user() rather than open-coding