[PATCH openEuler-22.09 375/379] libbpf: Fix non-C89 loop variable declaration in gen_loader.c