mi: declare/move MI_DATE_BUF_LEN into the mi headers