Fix S390X bad size_t that causes memory trash in legacy ciphers