Fix and integer overflow issue in SDK's QuickSort
Fix and integer overflow issue in SDK's QuickSort

BUG=382639
R=mdempsky@chromium.org

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

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