[PATCH v3 01/12] conf: Introduce virDomainInputDefRemove and fix memory leak