First try at fixing gen_gccbuiltins for LLVM 3.6.

The referenced type is private therefore a LLVM change is required, too.