wined3d: Check if we can do the blit before messing with surface flags in IWineD3DSur...