Fix buffer size boundary check offset by 1
Fix buffer size boundary check offset by 1

When newPos == file size, the current block will not be read or Get. If this block is a crucial part of the document (like m_pTrailer), the program will exit with parse error and
the document will not be rendered.

BUG=None
R=jun_fang@foxitsoftware.com

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

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