wined3d: Make context_create() work if the window is already destroyed.