src/common/util.c: Fix out-of-bounds write error

Our get_openssl_version() function copies the OpenSSL version string
into a buffer.  This commit fixes the issue that the nul-termination of
that copy would've overflowed the buffer if the version string was
overlong (which won't happen in practice).

Discovered by Coverity Scan.