[PATCH openEuler-22.09 223/379] libbpf: Streamline error reporting for high-level APIs