Effects of the q profile on toroidal rotation in Alcator C-Mod LHCD plasmas