Allow the C API users to keep relying on the OutMessages parameter.

Should fix the Ocaml tests.