[libvirt PATCH 2/2] lxc: replace VIR_ALLOC/REALLOC with g_new0/renew