[REG2.064a] Issue 10836 - 'errors compiling the function' for optimized builds

http://d.puremagic.com/issues/show_bug.cgi?id=10836

`Module::runDeferredSemantic3` should be called after the formal semantic3 of the whole modules is finished.