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