netdev-dpdk: remove duplicated code in netdev_dpdk_get_status