[relate] Fix for_each_disjoint_geometry_if return value for Multi Geometries

Fix GCC warnings.