bin/xbps-rindex/remove-obsoletes.c: fix use-after-free.