iommu/irq_remapping: Normailize the way to detect whether IR is enabled