Make a logwarning when ResizeMemory() resized to null ptr

In case there is an issue with resizing memory and "realloc()" for example returns a null pointer, this will be at least logged from now on. It's still likely the server crashes after that...