of/irq: Refactor interrupt-map parsing