Fix reporting of DLL unload events on MS-Windows.