[PATCH 6.1 158/291] pinctrl: qcom: Clear latched interrupt status when changing IRQ type