BUG: when trying to use an out-of-bounds date as an object dtype (GH5312)

closes 1st issue in #5312