ocaml/java: support CS_MODE_V8 for Arm