s390/dasd: avoid undefined behaviour