powerpc: Fix reading and writing SPRs from xmon on 32-bit