os: make SameFile handle paths like c:a.txt properly

Fixes issue 8490.

LGTM=r, rsc
R=golang-codereviews, rsc, bradfitz, r
CC=golang-codereviews
https://codereview.appspot.com/127740043