hls, segment: fix splitting for audio-only streams.

CC:libav-stable@libav.org