demux: adaptive: fix potentially unlimited caching
Server might not have set Content-Length, which is used for accounting total cache.
Currently only index & init segments are cached. So it was not really an issue. But that would really a problem if we enable data segments caching.