[PATCH openEuler-22.09 v3 224/391] libbpf: Streamline error reporting for high-level APIs