Fix a bug that in Windows line-ending .go files, symbols fail to be located.
Fix a bug that in Windows line-ending .go files, symbols fail to be located.

Also simplify the code a little bit, and fix a spelling error.

buaazp/Godef