ppc: Support little endian intreadwrite