lib: Use caml_failwith instead of compat wrapper failwith.