zarchive: mostly compilation warning fixes