perf build: Fix check for btf__load_from_kernel_by_id() in libbpf