common: don't corrupt old block in debug mode when realloc needs to move a block.