Fix warnings imrseobnr
Description
Trying to create a Docker container with Ubuntu/Debian, there are warnings that are marked as errors by both recent GCC/Clang compilers. I have added some very simple checks to prevent this issue.
Additional information related to H5 support
I also noticed that H5 support are not properly handled in some cases. This is not fixed, but perhaps might be adjusted in the future.
If libhdf5-dev is not installed, compilation is failing due to missing LALH5File, but still called for instance in the following classes (non-exhaustive list): ./lalsimulation/lib/LALSimIMRNRSur4d2s.c
./lalsimulation/lib/LALSimIMRNRWaveforms.c
./lalsimulation/lib/LALSimIMRPrecessingNRSur.c