bin/xbps-rindex/index-add.c: add assertions to make coverity happy (CID 62741)