[PATCH openEuler-22.09 v2 317/391] libbpf: Extract ELF processing state into separate struct