[PATCH 6.4 142/737] bpftool: use a local copy of perf_event to fix accessing :: Bpf_cookie