Fix build with poppler>=0.69
Remove no longer available Object::memCheck usage (which didn't do anything anyway since DEBUG_MEM was not set); add some const's
Differential Revision: https://phabricator.kde.org/D16388