Fix buffer size and memory offset calculations in VstEventKeeper
Fix crash when changing state of some VSTs through GUI

Tested only with the Reveal Sound Spire VST 32-bit