[SCSI] libsas, bsg: pass errors through correctly