[PATCH 6.1 176/223] tracing/histograms: Add histograms to hist_vars if they have referenced variables