Facing an uphill battle with the SEC, Telegram gave back money from a $1.7 billion ICO for the Telegram Open Network in May. Now it's giving up the GRAM trademark, too.