Fix the readability-redundant-string-cstr check to correctly replace
calls to c_str() via an overloaded operator-> (such as from an
iterator.)
Previously, the fix for i->c_str() would be *i->. Using consume_back
to remove any trailing -> results in the correct *i.
Add some lit check test cases too.