Stop using forward-referencing types when streaming LLVM code

It seems that newer LLVM versions forbid this. So now we just temporarily
cast to i8* for forward-references.