[openEuler-5.10 009/496] wifi: mac80211_hwsim: add back erroneously removed cast