Fix mismatched free/delete

Bug #65553
Merge remote-tracking branch 'origin/poppler-0.22'
Fix memory leak
Fix mismatched allocation and deallocation

Part of bug #65551
Prefer prefix ++/-- operators for non-primitive types

Part of bug #80537
Merge remote-tracking branch 'origin/poppler-0.22'

Conflicts:
	poppler/Catalog.cc
	qt4/src/poppler-private.h
	utils/HtmlOutputDev.cc
Do not pollute global namespace with internal classes

Bug #64680
0.23.2
MinGW32 may or may not define __MINGW_PRINTF_FORMAT

Moreover __USE_MINGW_ANSI_STDIO might be defined as 0
Windows compile fixes