[PATCH 5.10 014/270] tracing: Fix oob write in trace_seq_to_buffer()