fix _DateTimeTextBox missing params issue

If a _DateTimeTextBox (DateTextBox or TimeTextBox) instance is created
without any parameters passed, an error is thrown because `params` is
assumed to exist. Fixes [#18243](https://bugs.dojotoolkit.org/ticket/18243).