Fix segfault on loading binary RITE files.
Merge pull request #1204 from monaka/pr-fix-segfault-on-loading-binary-mrb

Fix segfault on loading binary RITE files.