hdrserialize: fixed compiler error in LLVM
see issue #54