Remove redundant NULL checks.
mrb_malloc causes an exception when memory was empty.