[PATCH 4.19 186/323] tracing/histograms: Add histograms to hist_vars if they have referenced variables