iterator: UnfoldrIterator::new should have function argument last

To match Rust conventions and enable use of `do` etc, make sure the
closure is the last argument to the `new` method.

cc @strcat