[PATCH openEuler-22.09 154/379] libbpf: Refactor bpf_object__resolve_ksyms_btf_id