Refactoring template instantiation error handling
[Refactoring] Rename local variables
[Refactoring] Swap parameters loc and sc

Only overload related functions use (sc, loc) order, but others (Type::semantic, Type::resolve, functionParameters, etc) uses (loc, sc) order. Therefore align the parameter orders to the latter.
[Refactoring] Remove redundant argument setting
[Refactoring] Use resolveFuncCall in almost places
[Refactoring] Do not calculate buf if it is not necessary.
[Refactoring] Rename variable

targsi -> tiargs (== Template Instance ARGS)
Cleanup comments
Simply or the conditions in Template(Instance|Mixin)::semantic

Pointed out by you Martin Nowak.
use %llu to format (unsigned long long)size_t arguments
Merge pull request #1694 from 9rnsr/refactor_tinst

Refactoring template instantiation error handling
Merge pull request #1695 from 9rnsr/refactor_funcall

Refactoring for function call mechanism
Merge pull request #1696 from dawgfoto/fixPrintfFormat

[trivial] use %zu to format size_t arguments
fix NULL pointers in __minfodata section for 64-bit MachO objects

- caused by 16-byte alignment of __minfodata section
Merge pull request #1702 from dawgfoto/fixModuleInfoSection

fix NULL pointers in __minfodata section for 64-bit MachO objects