[PATCH 6.1 137/600] bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie