ocaml/python/java: fix some broken arm64 constants generated by const_generator.py