[PATCH v2 5.10] wifi: iwlwifi: add a few rate index validity checks