configure.ac: Correct detection of `xgettext`
On macOS at least, xgettext
is not being correctly identified because
AM_GLIB_GNU_GETTEXT
is blowing away the XGETTEXT
variable which then
messes up the version checking.
This moves that macro to after the version check.