[PATCH 4.14 40/74] tracing: Fix lock inversion in trace_event_enable_tgid_record()