[PATCH openEuler-22.09 v3 274/391] libbpf: Simplify BPF program auto-attach code