[PATCH 4.14 49/94] perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()