Commodores beat Gamecocks, stay alive in tourney