ethdev: fix xstats retrieval with a null array