Backport "Fix build with poppler 26.01.0" to 1.4.x

Backport of 3a528728

Merge request reports

Loading