BUG: Bug in pd.read_msgpack with inferring a DateTimeIndex frequency incorrectly (GH5947)

closes #5947