unarr: restart from byte boundary for solid compression (fixes issue 2666)
unarr: fix check for infinite loop (fixes issue 2670)