avformat/hlsenc: fix the duration of m4s segment is unusually smaller than expected.