[PATCH 17/35] d3d11: Don't grab wined3d lock for generating mipmaps.