Fix invalid truncation error during extraction

Only abort when bytes_avail is null and nothing remains into
zip->entry_bytes_remaining