hdf5: workaround hdf5 bug on 64 bits

bug, probably part of libhdf5 being reported. Still present on libhdf5 1.8.12