Steven Gerrard says he is "devastated" to have played his final game at Anfield after Liverpool's 3-1 loss to Crystal Palace on Saturday.