BUG: Bug in to_datetime with a format and coerce=True not raising (GH5195)

closes #5195