Fix gen_gccbuiltins utility for LLVM 3.6

The used type is private but using auto helps here.