[PATCH openEuler-22.09 v3 173/391] libbpf: Make few internal helpers available outside of libbpf.c