Added const qualifier to StringRef::edit_distance member function

Patch by Ismail Pazarbasi.