[PATCH 4.14 42/43] irqchip/qcom: Fix check for spurious interrupts