Fixed #21954: Raise nice error when serializing datetimes with timezones