Fix build with poppler<0.64, take 2
Fix build breakage with poppler<0.64 due to changes in 2993cf64b878b78e6b66fddd80f3cbd3b6c66cde
Differential Revision: https://phabricator.kde.org/D16455