strstr with rolling hash