[PATCH 6.1 034/198] wifi: nl80211: fix NULL-ptr deref in offchan check