[DDMD] Do not allocate TypeFunction on the stack