Fix segv with AES-NI on some platforms.