[PATCH 5.15 119/691] wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors