Fix blank page issues caused by too strict check
Fix blank page issues caused by too strict check

Before this fix, PDF parser aborts the parsering process when detecting an error.
For this case, PDF parser just gives up parsering when it detects that the length of
image stream is incorrect. The solution to this case is to find the tag "endstream"
and "endobj" to calculate the length rather than aborting the parsering process.

BUG=433339
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/743263002

azunite/pdfium_ch,duanhjlt/pdfium,pwaller/pdfium,nathanstitt/pdfium,was4444/pdfium,duanhjlt/pdfium,klokantech/pdfium,wwxxyx/pdfium0,wwxxyx/pdfium0,ttyangf/PDFium-,klokantech/pdfium,DrAlexx/pdfium,chenjian-rits/HelloWorld,nathanstitt/pdfium,azunite/pdfium_ch,was4444/pdfium,azunite/libpdfium,rouault/pdfium,rouault/pdfium,shifucun/pdfium,chenjian-rits/HelloWorld,was4444/pdfium,witwall/pdfium,pwaller/pdfium,rouault/pdfium,azunite/pdf_clone,witwall/pdfium,klokantech/pdfium,andoma/pdfium,azunite/libpdfium,azunite/pdf_clone,chenjian-rits/HelloWorld,duanhjlt/pdfium,DrAlexx/pdfium,andoma/pdfium,ttyangf/PDFium-,bradh/pdfium,DrAlexx/pdfium,DrAlexx/pdfium,csharpengineer/pdfium-code,was4444/pdfium,pwaller/pdfium,bradh/pdfium,duanhjlt/pdfium,shifucun/pdfium,nathanstitt/pdfium,bradh/pdfium,azunite/pdf_clone,azunite/pdfium_ch,wwxxyx/pdfium0,shifucun/pdfium,andoma/pdfium,ttyangf/PDFium-,andoma/pdfium,azunite/libpdfium,csharpengineer/pdfium-code,azunite/libpdfium,witwall/pdfium,csharpengineer/pdfium-code