Fix integer overflow in conversion from float to integer.
Fix integer overflow in conversion from float to integer.

BUG=471991
R=brucedawson@chromium.org

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

azunite/pdf_clone,andoma/pdfium,pwaller/pdfium,rouault/pdfium,bradh/pdfium,pwaller/pdfium,andoma/pdfium,DrAlexx/pdfium,azunite/libpdfium,andoma/pdfium,pwaller/pdfium,was4444/pdfium,azunite/pdf_clone,DrAlexx/pdfium,chenjian-rits/HelloWorld,DrAlexx/pdfium,azunite/libpdfium,was4444/pdfium,nathanstitt/pdfium,nathanstitt/pdfium,chenjian-rits/HelloWorld,rouault/pdfium,klokantech/pdfium,bradh/pdfium,chenjian-rits/HelloWorld,andoma/pdfium,bradh/pdfium,rouault/pdfium,wwxxyx/pdfium0,nathanstitt/pdfium,azunite/libpdfium,klokantech/pdfium,azunite/libpdfium,wwxxyx/pdfium0,klokantech/pdfium,azunite/pdf_clone,was4444/pdfium,wwxxyx/pdfium0,DrAlexx/pdfium,was4444/pdfium