Merge "arm: irq: Correct set_irq_flags check for invalid irq" into msm-3.0