dpdk: fix variable type in pattern parsing