hw/i386/pc_q35.c: Avoid g_assert_cmpint() as it is not in glib 2.12