Fix errors caused by stdio.h dependent code.
Merge pull request #875 from monaka/pr-enable-building-libmruby-with-DISABLE_STDIO-macro

Fix errors caused by stdio.h dependent code.