An implicit form for the Osher upwind scheme