move _d_createTrace from dmain2.d to deh.d and deh2.d

_d_createTrace() has no business being in dmain2.d, it belongs in the exception handling code, which is the only code that references it.

Moving it also exposed type errors in the parameters, which I fixed.

This change is refactoring only - no behavior changes.