sh: intc - rework higlander irq code for r7780mp and r7785rp