crypto/qat: fix array access
crypto/qat: fix array access

Fix possible access of an array by negative index in function
qat_sym_qp_setup.

Coverity issue: 372131, 372134
Fixes: 8f393c4ffdc1 ("common/qat: support GEN4 devices")

Signed-off-by: Arek Kusztal <4bf5ef838d7576d5719b17cd64a25f70d57e7e5b@intel.com>
Acked-by: Adam Dybkowski <b636839fd6da8c90d3d28fcb76555ed5d2c5a673@intel.com>

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