That's really, really sad. And the worst part is, it's surely conscious on nobody's part. There have even been studies showing this effect. What's even sadder is that there's no obvious or easy way to fix it.
There is a simple way to fix it. Namely providing a means to submit your resume that anonymizes name, gender, age and anything that could bias the reviewer's assessment. The best HR departments already do that, at least that's the hope.
My company, Mighty Spring (https://www.mightyspring.com), is doing exactly this on a larger scale: we're a marketplace that connects people and employers, but the employers see anonymized versions of each candidate's data/career history.
They request to interview candidates on the platform based on these anonymous profiles. Should the candidate accept, we reveal contact information to both parties and help schedule the interview.
While we're still fairly early stage, we're aiming to expose bias at different points in the hiring process using this approach, and at the very least help employers understand their own biases. Acceptance is the first step to a solution, no?