Adds out of memory error to glmalloc.

NULL is apparently not always returned, but if it is, it
seems like we should check for it.