mac80211: avoid NULL ptr deref when finding max_rates in PID and minstrel