[geometry] Wrap debug facility with #ifdef BOOST_GEOMETRY_DEBUG_INTERSECTION. Include missing <cmath>.