wined3d: Clear the device if we're not removing the entry from the table in wined3d_u...