FriBidi Lua+ffi binding (Unicode bidirectional algorithm)