Fix build with poppler-26.01.0.

Index: filters/karbon/pdf/SvgOutputDev.cpp
--- filters/karbon/pdf/SvgOutputDev.cpp.orig
+++ filters/karbon/pdf/SvgOutputDev.cpp
@@ -492,7 +492,7 @@ void SvgOutputDev::drawImage(GfxState *state,
     Q_UNUSED(interpolate)
     Q_UNUSED(inlineImg)
     ImageStream *imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
-    imgStr->reset();
+    imgStr->rewind();
 
     unsigned int *dest = nullptr;
     unsigned char *buffer = new unsigned char[width * height * 4];
