lavf/segment: fix computation of M3U8 segment target duration