[PATCH 4.19 24/40] mac80211_hwsim: Use kstrndup() in place of kasprintf()