[PATCH 056/137] tracing: Remove open-coding of hist trigger var_ref management