Merge pull request #2336 from allengeorge/thrift-5299

THRIFT-5299: Encode sequence numbers as non-zigzag varint