[Ocaml] Fix compilation warnings.

While doing that I removed the dependency of editFP on geometry_2d as it
is not being used there.