wined3d: Pass an IWineD3DResourceImpl pointer to context_resource_released().