[PATCH 6.6 109/121] perf bpf-utils: Harden get_bpf_prog_info_linear