crypto/{sha*,md5,sm3}-buffer: Fix --with-openssl (regr. 2023-08-26). Reported by Agostino Sarubbo via Sam James <sam@gentoo.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2023-09/msg00000.html>. * lib/sha1.h: Test the OpenSSL major version before attempting to include <openssl/configuration.h>. * lib/sha256.h: Likewise. * lib/sha512.h: Likewise. * lib/md5.h: Likewise. * lib/sm3.h: Likewise.