[bugfix] if BIGINT or SMALLINT version field was not incremented.

Made version field accepted type coherent between ClassMetadataInfo and BasicEntityPersister