oslib: do not call g_strdup from qemu_get_exec_dir