Memory leak in extension functions

This patch cleans up the java.lang.ThreadLocal.ThreadLocalMap.Entry object that is left in the thread for every XProcExtensionFunctionDefinition of every XProcRuntime.