Fix issue in ufdt_get_node_by_phandle

If the phandle being searched for exceeded the highest phandle
in phandle_table.data, the issue was causing the return of the node
corresponding to the highest phandle in phandle_table.data.

Bug:67779848
Test: mm
Change-Id: I17783a8e3212b0762e1b16aead06df774704d2bf
Git-repo: https://android.googlesource.com/platform/system/libufdt
Git-Commit: 9ec4bdabb790b0ddbb627c86830569a809121000
1 file changed