luainstance: use lua_Integer in tableLookup()

This fixes the build on platforms where lua_Integer is not int.
The other solution, converting the lua_Integer's to int is not
as flexible IMHO. Only build tested.

Conflicts:
	src/gui/luainstance.cpp