prima: wlan_hdd_ftm: fix warning(out of bounds)