Union GMB Scotland has written to First Minister John Swinney urging him to withdraw funding from the city council in a high-stakes clash.