Add TemplateParameter::hasDefaultArg
fix Issue 12728 - IFTI should consider instantiated types that has template parameters with default args
Merge pull request #3539 from 9rnsr/fix12728

[REG2.066a] Issue 12728 - IFTI should consider instantiated types that has template parameters with default args