tests: Fix glib version check
tests: Fix glib version check

The glib version checks were using #ifdef GLIB_CHECK_VERSION() rather
than  #if GLIB_CHECK_VERSION()

SPICE/spice-common,fgouget/spice-common,SPICE/spice-common,fgouget/spice-common,fgouget/spice-common,fgouget/spice-common,SPICE/spice-common