[PATCH 5.4 322/389] tools build: Switch to new openssl API for test-libcrypto