[MIPS] Fix broken rm7000/rm9000 interrupt handling