[PATCH 4.14 45/45] ath10k: fix scan crash due to incorrect length calculation