[PATCH v6 3/3] of: Add of_graph_get_port_by_id function