Current-induced macrospin versus spin-wave excitations in spin valves