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