Fix templates taking enum values parameters.

Clang resolves enum value arguments into integer literals in its AST, which makes DMD not find the corresponding template declaration because from its point of view uint != Enum.

Those integer literals are now reverted to DotIdExps pointing to the enum constants.