AMD to lay off 15 percent of workforce