os/exec: change windows LookPath so it works like cmd.exe

Fixes issue 6224

R=golang-dev, hcwfrichter, bradfitz
CC=golang-dev
https://codereview.appspot.com/13410045