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