osdep: include glib-compat.h before other QEMU headers