The contrib/devtools/test-security-check.py script is not robust enough to work not only in the well-predicted Guix environment but also in the wild.
For example, on Ubuntu 22.04, GCC has -fcf-protection=full by default. See:
gcc -E -dM - < /dev/null | grep CET
#define __CET__ 3
This PR explicitly provides -fcf-protection=none in cases where it is expected.