[PATCH openEuler-22.09 178/379] libbpf: Make few internal helpers available outside of libbpf.c