[PATCH openEuler-22.09 v2 025/391] libbpf: bpf__find_by_name[_kind] should use btf__get_nr_types()