[DDMD] Add factory function for ErrorExp

Because constructors can't be called directly over the language boundary.