[zlib][riscv] Import RVV 1.0 based version of Adler-32.

Adding a vectorized version of Adler-32, as it should help
with the zlib wrapper for DEFLATE and PNG decoding.

The original code was written by Alex Chiang and imported
in the Cloudflare zlib fork by Simon Hosie.

Average decompression gain was +14.4% (and only +1% for compression)
with the zlib wrapper running in a Kendryte K230 board.

Bug: 329282661
Change-Id: I9ccae19c46240c6ee517e24ce142e0fe600f4321
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5378739
Reviewed-by: Hans Wennborg <hans@chromium.org>
Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1276438}
NOKEYCHECK=True
GitOrigin-RevId: c0e7820262df6b9e69252babe4ffc1cccc1af135
4 files changed