Bugfix for CHECK_HAVE_WARN_PHANDLE()
Bugfix for CHECK_HAVE_WARN_PHANDLE()

At present, the tree checking code in dtc will die with an assertion
failure if given a tree which has the invalid value 0 or -1 in a
property which should contain a phandle.  This patch fixes the check
to die more gracefully with an error message indicating the invalid
phandle value.

Signed-off-by: David Gibson <58469ba664997fcb401d465b27655a3c41d34e08@au1.ibm.com>

mozilla-b2g/kernel_lk,mozilla-b2g/kernel_lk,CanarySolutions/little-kernel,efidroid/lk,t2m-foxfone/kernel_lk,oubeichen/lk-v500,idor/dk50-bootable_bootloader_lk,detule/lk-g2-spr,M1cha/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,CanarySolutions/little-kernel,jsr-d9/android_kernel_lk,idor/dk50-bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,jsr-d9/android_kernel_lk,thornbirdblue/codeaurora_lk,jbott/lk_gee,Foxda-Tech/polaris-bootable-bootloader-lk,zhuotong/mi2_lk_NoEmmc,t2m-foxfone/kernel_lk,RonGokhale/android_lk_bootloader,jbott/lk_gee,Redmi-dev/android_bootable_lk,t2m-foxfone/android_kernel_lk,DooMLoRD/android_bootable_bootloader_lk,jsr-d10/android_bootable_bootloader_lk,utilite2/lk,jbott/lk_gee,utilite2/lk,M1cha/android_bootable_bootloader_lk,DooMLoRD/android_bootable_bootloader_lk,pichina/lk,hanjae/lumiab0,jsr-d9/android_kernel_lk,M1cha/mi2_lk,CanarySolutions/little-kernel,Foxda-Tech/argo8-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,jsr-d9/android_kernel_lk,detule/lk-g2-spr,mozilla-b2g/kernel_lk,detule/lk-g2-spr,mozilla-b2g/fairphone2_kernel_lk,efidroid/lk,Foxda-Tech/polaris-bootable-bootloader-lk,MiCode/mi2_lk,jsr-d10/android_bootable_bootloader_lk,oubeichen/lk-v500,MiCode/mi2_lk,thornbirdblue/codeaurora_lk,mozilla-b2g/fairphone2_kernel_lk,lg-devs/g2-bootloader,oubeichen/lk-v500,M1cha/mi2_lk,pichina/lk,detule/lk-g2-spr,Blefish/android_bootable_bootloader_lk,oubeichen/lk-v500,Blefish/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,chirayudesai/android_bootable_bootloader_lk,pichina/lk,pichina/lk,efidroid/lk,idor/dk50-bootable_bootloader_lk,lg-devs/g2-bootloader,M1cha/lktris,Redmi-dev/android_bootable_lk,RonGokhale/android_lk_bootloader,mozilla-b2g/fairphone2_kernel_lk,Blefish/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,M1cha/lktris,DooMLoRD/android_bootable_bootloader_lk,mozilla-b2g/fairphone2_kernel_lk,M1cha/mi2_lk,Blefish/android_bootable_bootloader_lk,Redmi-dev/android_bootable_lk,efidroid/lk,Foxda-Tech/polaris-bootable-bootloader-lk,thornbirdblue/codeaurora_lk,DooMLoRD/android_bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,RonGokhale/android_lk_bootloader,jsr-d10/android_bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,chirayudesai/android_bootable_bootloader_lk,M1cha/mi2_lk,jsr-d10/android_bootable_bootloader_lk,oubeichen/lk-v500,jsr-d10/android_bootable_bootloader_lk,MiCode/mi2_lk,RonGokhale/android_lk_bootloader,CanarySolutions/little-kernel,utilite2/lk,zhuotong/mi2_lk_NoEmmc,Foxda-Tech/argo8-bootable-bootloader-lk,idor/dk50-bootable_bootloader_lk,hanjae/lumiab0,t2m-foxfone/kernel_lk,lg-devs/g2-bootloader,M1cha/lktris,pichina/lk,zhuotong/mi2_lk_NoEmmc,t2m-foxfone/kernel_lk,t2m-foxfone/android_kernel_lk,DooMLoRD/android_bootable_bootloader_lk,CanarySolutions/little-kernel,Foxda-Tech/polaris-bootable-bootloader-lk,M1cha/lktris,utilite2/lk,hanjae/lumiab0,thornbirdblue/codeaurora_lk,Blefish/android_bootable_bootloader_lk,jsr-d9/android_kernel_lk,mozilla-b2g/fairphone2_kernel_lk,utilite2/lk,Redmi-dev/android_bootable_lk,t2m-foxfone/kernel_lk,Foxda-Tech/argo8-bootable-bootloader-lk,thornbirdblue/codeaurora_lk,idor/dk50-bootable_bootloader_lk,lg-devs/g2-bootloader,detule/lk-g2-spr,M1cha/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,MiCode/mi2_lk,hanjae/lumiab0,chirayudesai/android_bootable_bootloader_lk,M1cha/mi2_lk,t2m-foxfone/android_kernel_lk,jbott/lk_gee,efidroid/lk,M1cha/android_bootable_bootloader_lk,hanjae/lumiab0,jbott/lk_gee,lg-devs/g2-bootloader,M1cha/lktris,M1cha/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,MiCode/mi2_lk,zhuotong/mi2_lk_NoEmmc,t2m-foxfone/android_kernel_lk,chirayudesai/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk