Add null check after mrb_realloc for array
Merge pull request #954 from carsonmcdonald/arrcrashfix

Add null check after mrb_realloc for array