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