incorrect strlen usage

- causes overflow for empty string

[Issue 11750 – ICE with debug info and empty #line Filespec](https://d.puremagic.com/issues/show_bug.cgi?id=11750)