mkv.cpp: fix the chapter/edition ending time