[PATCH 3/3] wined3d: Unload resources in wined3d_device_uninit_3d().