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`.
The already-split path is available as `paths`, so just `cmds = paths.map ...`