Fix EZP-23573: ez_is_field_empty does not work for a "date and time" field

Ensures that zero DateTimes are recognized as empty.