Win32: fix closedir() to match vlc_opendir()