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