make MemoryPoolAllocator's Malloc work after Clear if a buffer was not supplied by the user

If a user did not supply a buffer to MemoryPoolAllocator and calls Clear(), chunkHead_ will be null and any calls to Malloc() will result in a segfault.