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