[PATCH 6.5 093/550] wifi: mt76: fix potential memory leak of beacon commands