string: Add optimized memrchr

Add optimized MTE-comparible memrchr. This walks the input backwards
using the same algorithm as memchr-mte.
2 files changed