[libvirt PATCH v2 38/56] tools: convert to use g_poll instead of poll