Copy some changes in the MIPS emission code from NDSGBA 1.21.