[PATCH openEuler-22.09 044/379] libbpf: Factor out low-level BPF program loading helper