Use certificate tables instead of ssl_cipher_get_cert_index. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3858)