iwlwifi: prevent read outside array bounds