fix llvm_build_struct_gep for PR6167, patch by