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