LADSPA/CMT: fixed global initialization on Win32

Global initialization happens via a global startup/shutdown handler
instance. For some reason this does not work properly when building
a DLL file, therefore create this startup/shutdown handler instance
as a static variable in ladspa_descriptor().

Furthermore marked ladspa_descriptor as extern-C.