contrib: add macOS test for fixup_chains usage
Summary:
Somewhat annoyingly, we have to patch support for -no_fixup_chains into ld64. As it doesn't seem to have been added until a later version.
Backport of core#27999.
Note that the test-security-check.py is not run on CI and currently fails on my machine as it expects some compiler versions that I don't have.
Test Plan: Run the osx guix build
Reviewers: #bitcoin_abc, PiRK
Reviewed By: #bitcoin_abc, PiRK
Differential Revision: https://reviews.bitcoinabc.org/D17251