OCaml bindings: fix attributes to use all 32 bits