[PATCH 4.19 267/361] genirq: Fix race on spurious interrupt detection