server: Fix tests Makefile
server: Fix tests Makefile

As reported in https://bugs.freedesktop.org/show_bug.cgi?id=93520, the
build from git is failing in Archlinux systems with undefined
references to glib symbols.

This patch fixes the problem by simply reordering the order libraries
will be linked. Also, removes duplicate $(GLIB_LIBS) variable.

Signed-off-by: Eduardo Lima (Etrunko) <025eb0974a9f48eaca88b86d8c2bcaf361e95a91@redhat.com>
Acked-by: Frediano Ziglio <55d48b080b2e443e395cde84d2c83b135a4ff48e@redhat.com>

SPICE/spice,SPICE/spice,fgouget/spice,fgouget/spice,SPICE/spice,fgouget/spice,fgouget/spice