Update warning to be closer to Ruby MRI.

This commit tracks upstream commit
https://github.com/ruby/ruby/commit/3fd37d082402858facc7e0b4c8847f113394659f