Fix overflow check.
Fix overflow check.

The fixed check assumes positive sizes. The previous check failed when
one of the sizes was 0.

phaazon/vector,dolio/vector,thomie/vector,seckcoder/vector,phadej/vector