std.mem.indexOfScalarPos: valgrind integration

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

see #17717
33428fc6aaAndrew Kelley committed on 3/21/2024, 9:35:37 PMparentafa0834
1 file changedLine totals unavailable