make the allocation be per-thread a configure option fixed compilation

* include/libxml/globals.h configure.in global.data: make
  the allocation be per-thread a configure option
* encoding.c include/libxml/parser.h: fixed compilation
  errors
Daniel
diff --git a/global.data b/global.data
index 45c3b31..2a6a445 100644
--- a/global.data
+++ b/global.data
@@ -6,7 +6,6 @@
 xmlSAXHandler,xmlDefaultSAXHandler
 xmlSAXLocator,xmlDefaultSAXLocator
 int,xmlDoValidityCheckingDefaultValue
-xmlFreeFunc,xmlFree
 xmlGenericErrorFunc,xmlGenericError
 void *,xmlGenericErrorContext
 int,xmlGetWarningsDefaultValue
@@ -14,14 +13,11 @@
 int,xmlKeepBlanksDefaultValue
 int,xmlLineNumbersDefaultValue
 int,xmlLoadExtDtdDefaultValue
-xmlMallocFunc,xmlMalloc
-xmlStrdupFunc,xmlMemStrdup
 int,xmlParserDebugEntities
 const char *,xmlParserVersion
 int,xmlPedanticParserDefaultValue
-xmlReallocFunc,xmlRealloc
 int,xmlSaveNoEmptyTags
 #const xmlChar,xmlStringComment,[]
 #const xmlChar,xmlStringText,[]
 #const xmlChar,xmlStringTextNoenc,[]
-int,xmlSubstituteEntitiesDefaultValue
\ No newline at end of file
+int,xmlSubstituteEntitiesDefaultValue