Diageo is set to cut almost a third of the workforce at its St James's Gate brewery in Dublin.