SERVER-9751: Force S2 geometry library to use Mongo's LOG instead of stderr

Right now S2 library just writes any debugging output and errors
to std::cerr. This patch changes S2's logger to use Mongo's LOG macros.

That way it is much easier to find errors in geometry primitives.