[PATCH openEuler-22.09 309/379] libbpf: Extract ELF processing state into separate struct