brcmfmac: move wiphy_unregister() call to brcmf_cfg80211_detach()