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