tests: Make realloc_fdt() really allocate *fdt

This bug has been found by using clang Static Analyzer: it reported that
the value stored to fdt was never read.

Signed-off-by: Nicolas Iooss <[email protected]>
Signed-off-by: David Gibson <[email protected]>
1 file changed