[SCSI] target: Convert rd_build_device_space() to use errno