XLALError.h: compare fmt against NULL

- fixes clang++ warnings
SinCosLUT.i: move position of UNUSED

- fixes clang complaint