pdftotext: Escape the text of the xml headers
Catalog: sort entries of NameTrees to make sure lookup works

Bug #26049
Merge remote-tracking branch 'origin/poppler-0.24'

Conflicts:
	poppler/Catalog.cc
	poppler/Catalog.h