wined3d: Use the texture dimension helpers in wined3d_surface_blt().