OpenSSL: use nondeprecated EC-group functions under 3.0.0.