VstEffect: added NULL pointer check in closePlugin()

We must not call methods on m_plugin in case there's no valid instance
e.g. due to missing DLL files.

Closes #245.