[PATCH 4.14 222/228] genirq/affinity: Handle affinity setting on inactive interrupts correctly