[PATCH openEuler-22.09 155/379] libbpf: Refactor codes for finding btf id of a kernel symbol