spapr: split the IRQ allocation sequence