ocaml: call Char.code on data derefs