[PATCH 4.19 004/245] ath10k: fix array out-of-bounds access