revamped the elfgcchack.h format to cope with gcc4 change of aliasing

* doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h
  format to cope with gcc4 change of aliasing allowed scopes, had
  to add extra informations to doc/libxml2-api.xml to separate
  the header from the c module source.
* *.c: updated all c library files to add a #define bottom_xxx
  and reimport elfgcchack.h thereafter, and a bit of cleanups.
* doc//* testapi.c: regenerated when rebuilding the API
Daniel
diff --git a/threads.c b/threads.c
index e803b62..6066a27 100644
--- a/threads.c
+++ b/threads.c
@@ -774,3 +774,5 @@
     return TRUE;
 }
 #endif
+#define bottom_threads
+#include "elfgcchack.h"