Use lua_newuserdata instead of palloc in tuple:transform (Bug#1194056)