net/dpaa2: fix loop increment
net/dpaa2: fix loop increment

Identified by LGTM, the loop was incorrectly incrementing a different
variable and conditional on another.

Fixes: fe2b986ac662 ("net/dpaa2: support generic flow")

Suggested-by: Ferruh Yigit <ba8734c3c506d2e3557bd4ac8fdaccd25bdb9aa7@intel.com>
Signed-off-by: Shreyansh Jain <9744844f062a9f6cf95f66f06508da54c8fc7929@nxp.com>

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