[tor-commits] [tor/master] Use explicit casts to avoid warnings when building with openssl 1.1