Catch integer overflow in partial byte
Catch integer overflow in partial byte

The improved check shouldn't be any slower because the i >= 10 check is
replaced with i >= 9.

jminer/rust-avro,jminer/rust-avro