fdt: move dumpdtb interpretation code to device_tree.c