[PATCH] wined3d: Also reset the device state to the default in wined3d_device_uninit_3d().