[PATCH 4.18 090/168] perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()