config: Set preprocessor defaults for ECMULT_* config values
This is a partial backport of secp256k1#988 and secp256k#1121
https://github.com/bitcoin-core/secp256k1/pull/988/commits/5eba83f17c5aa1cf3698bb057a4b3ee35f3b6c30
https://github.com/bitcoin-core/secp256k1/pull/1121/commits/d0cf55e13a7f0914759fe4f3afd003ff37868269
The second commit fixes a failure in the cmake build, due to a -Wundef warning.
~/dev/bitcoin-abc/src/secp256k1/src/ecmult_gen.h:13:5: warning: "ECMULT_GEN_PREC_BITS" is not defined, evaluates to 0 [-Wundef]
13 | #if ECMULT_GEN_PREC_BITS != 2 && ECMULT_GEN_PREC_BITS != 4 && ECMULT_GEN_PREC_BITS != 8
| ^~~~~~~~~~~~~~~~~~~~We could probably just include libsecp256k1-config.h in ecmult_gen.h, but afaict we never change the default value of 4 that is set in CMakeLists.txt (via SECP256K1_ECMULT_GEN_PRECISION), so better to not deviate from upstream ( libsecp256k1-config.h shoud go away evenutally in secp256k1#1178)
Depends on D19396