VST3 fix for reading state from streams of unknown size.