x86/irq: Add allocation type for parent domain retrieval