[PATCH 6.1 180/313] scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id