pothos-library: LabelIteratorRange was derefing end iterators

Change implementation to use pointers for input.
pothos-java: init result variable to fix assert