[CVE-2021-30560] Fix use-after-free in xsltApplyTemplates