FFI: Fix __index/__newindex metamethod resolution for ctypes.
Merge branch 'master' into v2.1
Merge branch 'v2.1' of http://luajit.org/git/luajit-2.0