lua: fix lua_objlen -> lua_rawlen for lua 5.2
Merge pull request #1195 from kevmitch/luafix

lua: fix lua_objlen -> lua_rawlen for lua 5.2