Compiler [Typechecker]: Do not warn about invalid types in pass 1. Fixes erroneous warnings due to casting to forward-referenced types.