emulator: Remove compile-time header only glib dep btvirt relied on a glib header macro to use MIN/MAX, but didn't link against it, meaning that it was dependent on other programs in the project using glib to compile correctly. Remove the include and use our own implementation instead.