Fix crash on load *mrb
Merge pull request #1303 from kyab/sirep_fix2

Fix crash on load *mrb
add mrb_malloc_simple() that returns NULL on error
use mrb_malloc_simple() to allocate crc buffer; close #1302
Merge branch 'master' into iij