[iOS] PDFDocumentImage should not create a cached image larger than 4M pixels