[algorithms] Fix unused parameter warning in is_valid for MultiPoint.