Remove vlc_threads_(init|end), fix thread-safety on Win32