[PATCH 4/5] wined3d: Use the resource access flags in wined3d_device_evict_managed_resources().