fixed problem when configuring using --with-thread-alloc * configure.in, xmlmemory.c, globals.c: fixed problem when configuring using --with-thread-alloc