Removed useless type check in yii\i18n\Formatter.

DateTime class implements DateTimeInterface, so we don't need to check if variable is an instance of DateTime and check only for DateTimeInterface.