Remove redundant NULL checks for mrb_malloc().

`mrb_malloc()` causes an exception when memory was empty.