Could ‘Granny Leave’ Feed Discrimination?

One proposal suggested is Granny Leave, whereby women in particular can take up to 6 months off work to look after an elderly parent and have the statutory right to return to work after that period.
Great idea, but can employers afford such a luxury? It is hard enough for them to finance maternity and in some cases paternity leave.
Could this not feed age and gender discrimination?