ANDROID: Revert "libfdt: fdt_path_offset_namelen: Reject empty paths"

This reverts commit 3c28f3e3a1724c288d19f1b1a139cf57bfe1af33.

Now that this change has been upstreamed, revert the Android patch in
order to cherry-pick the upstream one.

Test: N/A
Change-Id: I5295898fa6670436533290f32a10e3f672e2696c
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c
index 362cc4a..7912463 100644
--- a/libfdt/fdt_ro.c
+++ b/libfdt/fdt_ro.c
@@ -263,9 +263,6 @@
 
 	FDT_RO_PROBE(fdt);
 
-	if (namelen < 1)
-		return -FDT_ERR_BADPATH;
-
 	/* see if we have an alias */
 	if (*path != '/') {
 		const char *q = memchr(path, '/', end - p);