Fix KryoSerializableStreamCodec deserialization.