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