Add a way to limit deserialized string lengths and use it for all strings.

The deserializer for old strings is removed, so that the code is forced to
use LIMITED_STRING for every string that is being deserialized.