[PATCH 4.17 07/18] genirq: Make force irq threading setup more robust