[CAS] Fix msan failure attempt 2 (#164493)
Try to fix msan error again. Previously, the error wasn't correctly
identified as the uninitialized value is in a different function than
the line crashed. Make sure value return from hash generating function
is fully zero initialized.