perf tools: Fix strlen() bug in perf_event__synthesize_event_type()