[SCSI] sd: update index allocation and use ida instead of idr