Recovery signing: add to constant time test, and eliminate non ct operators
Summary:
- Split ecdsa_sign logic into a new function and use it from ecdsa_sign and recovery
- Add ecdsa_sign_recoverable to the ctime tests
- Add tests for the cmov implementations
This is a backport of libsecp256k1 PR755
Test Plan:
ninja check-secp256k1
Reviewers: #bitcoin_abc, majcosta
Reviewed By: #bitcoin_abc, majcosta
Differential Revision: https://reviews.bitcoinabc.org/D7590