[libvirt PATCH 2/2] locking: prefer g_new0 to VIR_ALLOC