isci: fix incorrect assumptions about task->dev and task->dev->port being NULL