[PATCH 10/11] qemuhotplugtest: use g_autoptr(virDomainDeviceDef)