[PATCH 6.1 087/104] perf bpf-utils: Harden get_bpf_prog_info_linear