Liverpool legend Steven Gerrard thinks that Mohamed Salah's imminent departure from Anfield is in "everyone's best interests".