[corlib] The hashcode of an empty struct must be constant. Fixes #17577