ocaml bindings: add getopcode for constant and instruction, and int64_of_const.