wined3d: Move some flags handling from surface_cpu_blt() to wined3d_surface_blt().