fdt: update fdt_alloc_phandle to use fdt_get_phandle