Enable support for static HDF5

 - detect if static HDF5 is used
 - surpress dynamic libsplash for static HDF5
 - add dependency to splash_static