This function is similar to g_try_realloc(), allocating (
but care is taken to detect possible overflow during multiplication.
Available since: 2.24
Previously-allocated memory, or
The argument can be
The data is owned by the caller of the function.
The number of blocks to allocate.
The size of each block in bytes.