brew-doctor: warning the external commands with conflicted name

Per conversation on https://github.com/Homebrew/homebrew/pull/34732. 
I think at least we should warn users if there are external commands with conflicted name in `brew doctor`.
As test shows, `File.executable` doesn't check whether it's file. And a directory can have executable attribute.