resolve reference links correctly

While reprocessing the nodes to change the labels, the refuris should also be
updated, because in the expanded latex the refuris will be used to reference a
cite to its corresponding bibitem and not the labels.

Signed-off-by: Erik Bernoth <erik.bernoth@gmail.com>