[LIBS] libfdt: Make libfdt_parse_devtree() more flexible

This patch makes libfdt_parse_devtree() API more flexible so that
it can be used to populate entire sub-trees from FDT under specified
device tree path.

Signed-off-by: Anup Patel <anup@brainfault.org>