[gdb/symtab] Fix "file index out of range" complaint