XPS: prefer EXIF resolution over JFIF density (fixes issue 2249)