Improve errors on crypto/openssl_version badness

When these tests fail, they currently do so in an unhelpful way. They should log the offending strings when the version strings don't match.

Extracted from #25549 (moved).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information