Fix MemoryConstrainedLuaRuntime having issues finalizing