glib2: add `-Werror` option when checking option
glib2: use added `-Werror` version try_compiler