Avoid buffer copies when a Twine already is a StringRef.