HLSStreamWorker: avoid a possible integer overflow

Don't think retries will ever get big enough for it to be a problem in
reality. Fixes Coverity ID 1192755 Unintentional integer overflow