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