[PATCH 4.14 123/199] mac80211_hwsim: Use kstrndup() in place of kasprintf()