Patch for ps plug-in.

 V1.11:
 Fix problem with calculation of extent for Mac files (bug report #10547)
 Fix problem with loop when not reading all images of a multi page file
