JZ4740: Fix typo in irq.c which lead to crashes