* parser.c threads.c: change the threading initialization sequence as suggested by Igor Novoseltsev to avoid crash if xmlInitParser() is called from a thread which is not the main one, should fix #584605 daniel