[PATCH openEuler-22.09 v2 245/391] libbpf: Propagate errors when retrieving enum value for typed data display