use long math on deserialize as well
patch by Taylan Develioglu; reviewed by jbellis for CASSANDRA-5903
merge from 1.2