[geany/geany] 9e1c79: Refactor GTK-related autoconf checks