use better image downscaling method for XPDF media-filter

https://jira.duraspace.org/browse/DS-1812