MIPS TF: Fix double register swap in MIPS backend.

Port r23905 (ed1e1f94)