Report dtc errors

If dtc cannot be found we return a cryptic message:

    dtc_resize: fdt_open_into returned FDT_ERR_BADMAGIC

Fix this and also report any non zero exit code from dtc.

Signed-off-by: Anton Blanchard <anton@samba.org>