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