sort: avoid overflow in pivot calculation. thanks to snilsson@nada.kth.se for the original CL.
sort: avoid overflow in pivot calculation.
thanks to snilsson@nada.kth.se for the original CL.

R=gri
CC=golang-dev, snilsson
http://codereview.appspot.com/3280044

wesolows/golang,wesolows/golang-old,wesolows/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang,wesolows/golang-old,wesolows/golang,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang,firebitsbr/golang-old,firebitsbr/golang-old,wesolows/golang,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old,firebitsbr/golang-old