ComputeTransferTest fails in lal-7.2.1 with segmentation fault
I am seeing a segmentation fault when [building lal-7.2.1 in conda-forge](https://github.com/conda-forge/lal-feedstock/pull/77/checks?check_run_id=8037159440):
```text
/home/conda/feedstock_root/build_artifacts/lal-split_1661519406855/work/gnuscripts/test-driver: line 107: 27789 Segmentation fault (core dumped) "$@" > $log_file 2>&1
FAIL: ComputeTransferTest
```
The test that is failing is [here](https://git.ligo.org/lscsoft/lalsuite/-/blob/lal-v7.2.1/lal/test/tools/ComputeTransferTest.c#L110-L111):
```c
LALComputeTransfer( &status, NULL );
TESTSTATUSERR( &status, CALIBRATIONH_ENULL );
```
This causes a segmentation fault on [this line](https://git.ligo.org/lscsoft/lalsuite/-/blob/lal-v7.2.1/lal/lib/tools/ComputeTransfer.c#L157):
```c
df = calrec->transfer->deltaF;
```
I believe this is because conda-forge compiles things using `-DNDEBUG`, which means that the `assert` statement [here](https://git.ligo.org/lscsoft/lalsuite/-/blob/lal-v7.2.1/lal/lib/tools/ComputeTransfer.c#L151):
```c
ASSERT( calrec, stat, CALIBRATIONH_ENULL, CALIBRATIONH_MSGENULL );
```
is not in the compiled code, so there's nothing to protect against passing in `calrec` as `NULL` and attempting to use it as normal. This _used_ to be protected by `if ( ! lalNoDebug )` which was removed in 1f5b97fe587bc3fc52f215ea909e0508d8972987 (https://git.ligo.org/lscsoft/lalsuite/-/merge_requests/1930), perhaps that should have been replaced by `#ifndef NDEBUG`?
cc @karl-wette @jolien-creighton
issue