dbcheck: Refactor RID Set check to use free_rid_bounds()