[PATCH v4 1/8] conf: Introduce virDomainInputDefRemove and fix memory leak