[PATCH 6.6 059/538] wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors