Unbreak #to_epoch method in datadog output plugin. (LOGSTASH-1427)

The event timestamp might already be a Time object.