Workaround of getCopyToRegs and getCopyFromRegs bugs for big-endian machines.