[PATCH 11/14] scsi: hisi_sas: fix logic bug when alloc device with MAX device num == 1