ethdev: move jumbo frame offload check to library