Do not allocate TypeFunction on the stack
Merge pull request #2220 from yebblies/stackalloc

[DDMD] Do not allocate TypeFunction on the stack