libdw: Check terminating NUL byte in dwarf_getsrclines for dir/file table.