Use appropriate buffer for QgsGeometry::XXXContainedInLine. Fix #10999.

We have reduced the problem by reducing the size of the buffer used in QgsGeometry::XXXContainedInLine functions.
The error may still occur depending on:
   the accuracy of the projection used,
   the distance between the object to modify and the nearest point.
So we caught the error, stop capturing and displaying a more specific message.
That exception has been addressed recently in 37f1a1 in a slightly better way (handling directly GEOS exception, not any exception). Also, at this point we should not add new translatable strings unless necessary.