tools: Set image parameters after jpeg_set_defaults()
tools: Set image parameters after jpeg_set_defaults()

So the resolution does not get overwritten by the defaults. Based on
patch by Adrian Johnson for poppler.

GNOME/libgxps,GNOME/libgxps,GNOME/libgxps