e_aes.c: prevent potential DoS in aes_gcm_tls_cipher.