scripts: security-check.py refactors
Summary:
scripts: no-longer check for 32 bit windows in security-check.py
scripts: remove NONFATAL from security-check.py
scripts: add run_command to security-check.py
Deduplicate all the subprocess code.
scripts: add additional type annotations to security-check.py
This is a backport of core#18796
Test Plan: gitian builds
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13550