[PATCH openEuler-22.09 374/379] libbpf: Clean gen_loader's attach kind.