[ruby-core:118973] [Ruby master Bug#20700] `warn_cr_in_shebang()` doesn't fire if there's no `\n`