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