c: now compatible with Lua 5.2

luaL_reg -> luaL_Reg
AUTHORS: added myself