Typo from ea875f6f32.
A range of triangles is pushed into the mask, but _last_ instead of _end_
was used. This was found in #132333 report, but this PR does not fix a
reported issue.
Pull Request: https://projects.blender.org/blender/blender/pulls/132405