cfg80211: fix race condition with wiphy_apply_custom_regulatory()