xbps-rindex: fixed cleaning obsolete entries from index-files in clean mode (-c).