glib: disable modular tests

glib's configure script looks for libdbus, and tries to link a test
program against it if it exists. This fails when the architectures of
the two do not match, for example when compiling glib as universal.

Since the alternative is to add a universal option to dbus and then add
a dependency here, just disable this test.

Fixes #17570.