Optimize first-character loop of strstr, strcasestr and memmem.