Improve error reporting from genattrtab.c