Move AsmStatement::semantic into a free function
Merge pull request #3316 from yebblies/iasmsemantic

[DDMD] Move AsmStatement::semantic into a free function