[PATCH openEuler-22.09 v3 385/391] libbpf: Fix non-C89 loop variable declaration in gen_loader.c