hash: fix the initialization warning error on gcc-10