poppler: XMLOutputDev::endPage: update to use new API