Correctly decrement the counter in the Stream.takeViaUnfold method.

The counter passed to the unfold functions is now decremented at each
unfold step, preventing non terminating recursion.

Sorry for making a request on the main trunk, but it seems such a trivial error.