I hesitate to call it virtue signalling because there are other forms of social signalling that aren't about virtue. Safe spaces require effort from the members who already feel safe.
Putting (he/him) in does three things. It invites you to provide your own. It also stops someone from starting a side-argument about you assuming 'he/him' in your response instead of you/your or they/their. Which means that we can talk about what we want to talk about instead of gender politics, if you don't feel like it. Or we can if you need to.