[PATCH openEuler-22.09 v3 369/391] libbpf: Avoid double stores for success/failure case of ksym relocations