- Improve Makefile.am for both prebuilt tables files
- On the way, tidy EXTRA_DIST: Move the header files to noinst_HEADERS, where they conceptually belong, and add missing SECURITY.md to EXTRA_DIST
This is a partial backport of secp256k1#988 and core#1047
https://github.com/bitcoin-core/secp256k1/pull/988/commits/ad63bb4c296e6007dab22cda05fd599b20139362
https://github.com/bitcoin-core/secp256k1/pull/988/commits/d94a37a20c3b5b44f1bcf60d309ffc50727e18e4
https://github.com/bitcoin-core/secp256k1/pull/1047/commits/26a022a3a0e3fceb1cd2e882e1476c950cabc2e8
Depends on D19399