Add cast to memset in `hsm_history.cpp`
this should keep clang++ happy