hw/xen: Use g_free instead of free and fix potential memory leaks