Use statements to invalid modules pass compiler

Doing use x::y does not cause an error if x or y is undefined.

This can most likely be fixed by adding a check for the names in the second phase of global symbol collection during AST lowering in ast_lowering::global_symbols

Edited by Frans Skarman