[PATCH 6.1 40/49] wifi: iwlwifi: add a few rate index validity checks