Behavior of realloc vs. HeapReAlloc