Add null check after mrb_realloc for array

Fix for issue #953

On a unix box you can see the crash by setting a really low ulimit like so:

```
ulimit -m 10000 -v 10000
```

Then just create a really large array of strings and it will crash. This patch checks the realloc return and raises a runtime exception.