Remove superfluous bars in deprecation warning

The `RSpec.warn_deprecation` is already in a here document,
so the regexp needs double escape.
Merge pull request #1327 from yujinakayama/remove-superfluous-bars-in-warning

Remove superfluous bars in deprecation warning