[U-Boot] [PATCH 1/2] libfdt: Fix bugs in fdt_get_path()