[PATCH 4.9 30/35] ath10k: fix scan crash due to incorrect length calculation