Fix libgcrypt sizeof issues.