[PATCH 5.10 088/149] tracing: Fix wild-memory-access in register_synth_event()