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