[PATCH] genirq: irq: generalize the check for HARDIRQ_BITS