[libvirt PATCH v3 6/8] cpu: Replace VIR_ALLOC with g_new0