Make salt.utils.which look for a path with .exe on Windows

If the argument passed to this function does not end in .exe and the
minion is running Windows, also look for the path + '.exe', allowing both
'cmd.exe' and 'cmd' to be matched.

Fixes #7904.