Add missing free on xmlDocPtr in XSL extension.

Signed-off-by: Arthur Loiret <arthur.loiret@ens-lyon.fr>