Francois Gouget : wined3d: Delete the static critical sections when unloading the dll.