move `strdup_uniq` lang item to std::str

also makes it private, since it's an implementation detail