qt4/qt5: fix some kinds of OCG models

properly pass parent and child when building the tree
qt4/qt5: remove extra qDebug
Merge remote-tracking branch 'origin/poppler-0.24'
Fix memory leak

CID #16853
Fix memory leak

CID #16864
delete -> gfree since it was gmaloced

CID #16785
gfree -> delete since it was new'ed

CID #16786
Fix Uninitialized pointer read when nFucnsA is 0

CID #16965
Fix memory leak

Don't pass new'ed GooStrings as parameters to error()

CID #16915
Fix Out-of-bounds read

CID #16844
Fix memory leak

CID #16852
Don't check twice for the same variable ^_^

CID #16804
Fix memory leak

CID #16943
qt5: remove m_fontInfoIterator from Document

it was used by the deprecated scanForFonts API, which was not provided
in poppler-qt5
0.25.3
Remove unused member
Initialize tmpBufLen

CID #16957

It isn't really needed since locateFont always returns a fontLoc with a non null
path if fontLoc itself is not null, but it doesn't hurt either
qt: Fix missing ! in TextAnnotation::setInplaceIntent

CID #16814
Tagged-PDF: Modify pdfinfo to show the document structure
glib: Private function _poppler_link_mapping_new_from_annot_link()

Move the code that creates a PopplerLinkMapping to its own function, and add
it as private API. This will avoid duplication of the code when creating a
PopplerLinkMapping from a PopplerStructureElement.