protobuf: rename entry points to of_* / to_*
Match the naming pattern already used elsewhere in the monorepo
(ocaml-json, ocaml-cbor, ocaml-xml): [of_*] decodes, [to_*] encodes,
and each [of_*] has an [_exn] twin that raises {!Loc.Error} on the
error path.
encode_string -> to_string
decode_string -> of_string
encode -> to_writer
decode -> of_reader
New entries:
val of_string_exn : 'a t -> string -> 'a
val of_reader_exn : 'a t -> Bytesrw.Bytes.Reader.t -> 'a
Call sites in [test/test_protobuf.ml], [test/test_wire.ml],
[test/interop/protoc/test.ml] and [fuzz/fuzz_protobuf.ml] are
mechanically updated. The old names are gone; no backwards-compat
aliases.
All 53 unit + 17 fuzz + 2 protoc interop tests pass.