Fix crash when exiting mirb using ctrl-d when compiled with readline
support.
Merge pull request #848 from carsonmcdonald/mirbreadlinefix

Fix mirb crash