tests: framework: Fix whitespaces.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
test: framework: malloc check: Add realloc()

Use realloc to track malloced memory too.

Fixes warnings:

"Chunk passed to free not found (0x15c2650)"

When realloc was used to allocate memory.
(found by TIFF loader tests)

Signed-off-by: Cyril Hrubis <metan@ucw.cz>