Fix decoding to use 5 bytes for length decoding.

The Java implementation was erroneously misread, and it was assumed
that varint-delimited encoding uses 64-bit varints; whereas, it really
uses 32-bit encoded.  Thusly 5 bytes are maximally used as padding, not
10.