Fix assertion condition in DebugAllocator.realloc. See #777.