Partial backport 8/11 of secp256k1 [[https://github.com/bitcoin-core/secp256k1/pull/830 | PR830:]]:
https://github.com/bitcoin-core/secp256k1/pull/830/commits/4232e5b7da0a68adc14fa4b481f7e106403c200d
Updates are necessary to accomodate our build system and Travis
variations.
Depends on D8043.