gtk3: Replace gdk_window_get_pointer with gdk_window_get_device_position