Small bugfix in get_iface_decl + macro useful in GI.jl

Small name/iname fix, and a macro that will enable GI.jl to (eventually) generate cachable code.