Explicitly set mode when no string is given
Explicitly set mode when no string is given

This makes sure we don't depend in nil's frozen status. I really don't
have a good idea how to spec this, since that would require freezing
nil, which we then can't undo for the remainder of the spec run. This
could cause all kinds of other side effects.

We also can't use undefined here, since this is not kernel/ code. MRI
can support this API since it's all in C land, but there's no way to do
this properly with just Ruby.

Fixes #2463

ruipserra/rubinius,Wirachmat/rubinius,mlarraz/rubinius,jsyeo/rubinius,mlarraz/rubinius,benlovell/rubinius,ngpestelos/rubinius,heftig/rubinius,Azizou/rubinius,kachick/rubinius,kachick/rubinius,ngpestelos/rubinius,pH14/rubinius,jemc/rubinius,pH14/rubinius,ngpestelos/rubinius,ngpestelos/rubinius,Azizou/rubinius,jsyeo/rubinius,benlovell/rubinius,ngpestelos/rubinius,sferik/rubinius,jemc/rubinius,sferik/rubinius,jemc/rubinius,Azizou/rubinius,jemc/rubinius,pH14/rubinius,mlarraz/rubinius,Wirachmat/rubinius,kachick/rubinius,sferik/rubinius,benlovell/rubinius,Azizou/rubinius,ruipserra/rubinius,jemc/rubinius,pH14/rubinius,dblock/rubinius,ruipserra/rubinius,sferik/rubinius,jsyeo/rubinius,benlovell/rubinius,Azizou/rubinius,ruipserra/rubinius,digitalextremist/rubinius,jsyeo/rubinius,benlovell/rubinius,digitalextremist/rubinius,kachick/rubinius,mlarraz/rubinius,ngpestelos/rubinius,dblock/rubinius,sferik/rubinius,digitalextremist/rubinius,dblock/rubinius,mlarraz/rubinius,dblock/rubinius,heftig/rubinius,benlovell/rubinius,jsyeo/rubinius,sferik/rubinius,digitalextremist/rubinius,Wirachmat/rubinius,Azizou/rubinius,sferik/rubinius,kachick/rubinius,heftig/rubinius,heftig/rubinius,pH14/rubinius,benlovell/rubinius,kachick/rubinius,Azizou/rubinius,mlarraz/rubinius,dblock/rubinius,dblock/rubinius,ruipserra/rubinius,Wirachmat/rubinius,dblock/rubinius,heftig/rubinius,heftig/rubinius,digitalextremist/rubinius,ruipserra/rubinius,jemc/rubinius,digitalextremist/rubinius,ngpestelos/rubinius,kachick/rubinius,ruipserra/rubinius,kachick/rubinius,jemc/rubinius,jsyeo/rubinius,jsyeo/rubinius,heftig/rubinius,Wirachmat/rubinius,mlarraz/rubinius,digitalextremist/rubinius,Wirachmat/rubinius,pH14/rubinius,Wirachmat/rubinius,pH14/rubinius