Cache HiveType category during construction

The category is checked for each Slice read in the record cursors, and this causes 2x regression in performance for varchar reads.