[PATCH 4/9] ASoC: qcom: q6asm-dai: perform correct state check before closing