[PATCH 5.12 412/700] brcmsmac: mac80211_if: Fix a resource leak in an error handling path