fixing bug #104646 about iconv based encoding conversion when the input

* encoding.c xmlIO.c: fixing bug #104646 about iconv based
  encoding conversion when the input buffer stops in the
  middle of a multibyte char
Daniel
diff --git a/encoding.c b/encoding.c
index c2d0b2d..3ac35fd 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2283,8 +2283,10 @@
 #endif
 	    break;
         case -3:
+#ifdef DEBUG_ENCODING
 	    xmlGenericError(xmlGenericErrorContext,"converted %d bytes to %d bytes of output %d left\n",
 	            toconv, written, in->use);
+#endif
 	    break;
         case -2: {
 	    int len = in->use;