[PATCH 5.17 161/772] rtw89: cfo: check mac_id to avoid out-of-bounds