[PATCH 6.12 050/164] tracing: Fix oob write in trace_seq_to_buffer()