[PATCH 5.18 696/879] perf build: Fix btf__load_from_kernel_by_id() feature check