of/flattree: merge early_init_dt_scan_chosen()