iwlwifi: fix possible NULL dereference in iwl_set_rate()