of: merge of_find_all_nodes() implementations