[scudo] Add hooks to mark the range of realloc (#74353)

`realloc` may involve both allocation and deallocation. Given that the
reporting the events is not atomic and which may lead the hook user to a
false case that the double-use pattern happens. In general, this can be
resolved on the hook side. To alleviate the task of handling it, we add
two new hooks to mark the range so that the hook user can combine those
calls together.

GitOrigin-RevId: 58c2a4e806b2882c0622cbded923b32f94c5b47b
3 files changed