configure.ac: Update a missed PKG_CHECK_MODULES for GTK_API_VER

Also move the hole gtk check and option up.