Viacom Posts Q3 Profit Gains