dpdk: fix clang issue for deprecated function patch