pdf-import: Use a unique_ptr for the created PDFDoc
I attempted to build Dia on Fedora 36 and encountered that issue. I think the type was changed in poppler.
I attempted to build Dia on Fedora 36 and encountered that issue. I think the type was changed in poppler.