fix Issue 9198 - Vararg functions don't respect IFTI rules
fix Issue 6905 - ref acts as auto ref when return type is missing
Merge pull request #1401 from 9rnsr/fix6905

Issue 6905 - ref acts as auto ref when return type is missing
Merge pull request #1399 from 9rnsr/fix9198

Issue 9198 - Vararg functions don't respect IFTI rules