ir: In buildStruct with members, add members to scope.
semantic: Use layoutStruct directly in typeidreplacer.
semantic: Make error message in typer more specific.
semantic: Replace classes with pointers to layout structs.