'Shrek' writer Terry Rossio apologizes for 'n-word' tweet