[PATCH 5.15 565/667] scsi: dc395x: Fix a missing check on list iterator