powerpc/ptrace: Adapt gpr32_get, gpr32_set functions for transaction