[PATCH 6.4 237/292] tracing/histograms: Add histograms to hist_vars if they have referenced variables