msan: fix compiler warnings about unused variables