pdf-import: allow to build Dia without poppler-dev

the recent inclusion into the build broke the case of missing
missing build dependency