[PATCH openEuler-22.09 v2 149/391] libbpf: Refactor codes for finding btf id of a kernel symbol