[PATCH 4.19 124/422] ath10k: avoid possible memory access violation