[MIPS] Fix pb1200/irqmap.c and apply some missed patches