build: Remove check for `openssl/ec.h`
build: Remove check for `openssl/ec.h`

We don't use any elliptic curves from OpenSSL anymore, nor include this
header anywhere but optionally in the tests of secp256k1 (which has
its own autoconf setup).

Reported by sinetek on IRC.

janko33bd/bitcoin,janko33bd/bitcoin,janko33bd/bitcoin,janko33bd/bitcoin,janko33bd/bitcoin,janko33bd/bitcoin