ASoC: msm: qdsp6v2: add check for NULL dereference

https://github.com/neobuddy89/hammerhead/commit/c1638bd1c38b5da29457f4a6e6c387a9b7daa33b