Treatment of casthouse off gases