Downstream projects may include libsecp256k1 test executables in their test suites. In such cases, if a -fsanitize=...
flag is passed via the SECP256K1_APPEND_CFLAGS
variable, the same flag must also be passed to the linker.
Required for https://github.com/bitcoin/bitcoin/pull/30791.