net: ethtool: fix NULL pointer dereference in stats_prepare_data()