AOL to cut 2,500 jobs prior to spinoff