[PATCH 6.4 120/227] wifi: mac80211_hwsim: Fix possible NULL dereference