net/mlx5: fix dynamic mbuf offset lookup check