fixed HDF + UBSan hack to work with old clang

1 job for hdf-ubsan-fix
Status Job ID Name Coverage
  External
passed kwrobot-commit-check