net/dpaa2: fix the ethdev offload checks