[PATCH 6.0 203/314] tracing: Fix wild-memory-access in register_synth_event()