[PATCH 4.16 48/52] irqchip/qcom: Fix check for spurious interrupts