contrib: use LIEF for security checks
Summary:
Also add PE PIE check to security checks
This is a partial backport of core#21664
https://github.com/bitcoin/bitcoin/pull/21664/commits/465967b5ef4b4f02e9d6783a94eca012d4ebcdab
https://github.com/bitcoin/bitcoin/pull/21664/commits/7e7eae7aa86ab95c44eed601f8c993285a256bbc
https://github.com/bitcoin/bitcoin/pull/21664/commits/a25b2e965c93fe2a46a2f8f1e7bdf5642d453511
https://github.com/bitcoin/bitcoin/pull/21664/commits/0f5d77c8e4db691733edb455dd9e31dabe933b8d
https://github.com/bitcoin/bitcoin/pull/21664/commits/955140b3265d3bcb9504c61d73fbfdadfff8a2b2
Test Plan: gitian builds
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Subscribers: Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13600