Run Bazel test suite on Linux ARM64 platform

Replace `synchronized` in `JavaSubprocessFactory` with `ReentranctLock`.

Failed in 1m 21s
:ubuntu: Ubuntu 20.04 LTS ARM64curl -sS https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/buildkite/bazelci.py?1738330780 -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?1738330780
Waited 3s
·
Ran in 41s
Total Job Run Time: 1m 18s