std.mem.indexOfSentinel: valgrind integration

this code returns false positives in Valgrind, so we fall back to the
other implementation when running in valgrind.

see #17717
4dc50151c4Andrew Kelley committed on 3/21/2024, 10:01:57 PMparent33428fc
1 file changedLine totals unavailable