[PATCH openEuler-22.09 v3 380/391] libbpf: Clean gen_loader's attach kind.