Cache some frequently called functions as locals in gumbo/ffi.lua