reduce garbage on codec flag deserialization

patch by belliottsmith reviewed by dbrosius for cassandra-7244