[PATCH v2 12/29] virxml: Introduce virXPathTristateSwitch()