perf session: Change perf_session__has_traces to actually check for tracepoints