The variant taking an int param can be implemented using
the variant taking a weld::TreeIter param.
Do so once in the abstract weld::TreeView base class, and drop
the toolkit-specific implementations.
Also move the method declarations of both methods
next to each other.
Change-Id: I8480b43ecb190f8f10ae87c28d32466d6b602ac5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196140
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>