Run Bazel test suite on Linux ARM64 platform

Extract the encoding/decoding logic for PersistentMap into a separate MapCodec class.

Failed in 4m 0s
:ubuntu: Ubuntu 20.04 LTS ARM64curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1739887468 -o bazelci.py && python3.8 bazelci.py runner --task=ubuntu2004_arm64 --http_config=https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/pipelines/bazel-linux-arm64.yml?1739887468
Waited 5s
·
Ran in 3m 18s
Total Job Run Time: 3m 55s