matroskaenc: do not write negative timestamps