[PATCH 5.4 214/222] rtw88: fix potential read outside array boundary