[PATCH v2 33/45] dm: core: Add ofnode functions to obtain an oftree