String#{to_r,to_c} should not use backref when calling gsub internally

Fixes #1563