pci/pir: Make sure that the IRQ is allowed to be configured