[PATCH 4.9 110/141] genirq: Fix race on spurious interrupt detection