[PATCH AUTOSEL 4.9 18/34] coresight: Handle errors in finding input/output ports