tracing: Fix trace_event_raw_event_synth() if else statement