Former Everton midfielder Leon Osman says David Moyes will turn things around at West Ham if he is appointed as manager.