app: call gdk_display_flush() in gimp_cursor_set()

Cursor change feedback should be immediate even under heavy load.