improve error checking in gt_inlineseq tools

Adds some better error checking in the tools, avoiding failed assertions instead of proper error messages.