Update serializerHDF5.h

fixed a problem with including hdf5 when USE_HDF5 is not defined