Declare variable 'ffi' in global scope

I don't know what snabbswitch puts into global environment but LuaJIT does not have global `Inf`. Neither I couldn't find `Inf` grepping through snabbswitch sources.