ofproto: Detect and handle errors in ofproto_port_add().