Fix crash with irqpoll due to the IRQF_IRQPOLL flag testing