net/igc: fix boundary checks for RSS
net/igc: fix boundary checks for RSS

Fix some out-of-bounds memory issues, they may lead to wrong results
or affect application stability.

Coverity issue: 357759, 357713
Fixes: bd3fcf0d0fa1 ("net/igc: support RSS")

Signed-off-by: Alvin Zhang <c5463347bfd64f7a052e86eaaf49a5760efc9625@intel.com>
Reviewed-by: Jeff Guo <62aa901f8680899d1e8b3d9b45cf4843c2976e1c@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk