[PATCH 5.17 125/158] perf build: Fix check for btf__load_from_kernel_by_id() in libbpf