Fixed mistaken use of result code in the VST3 wrapper.