Store setmetatable in an upvalue in ffi-parse.lua