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`.
I think what you want is `Hash.new { |h, k| h[k] = [] }`. As written the value will not be persisted into the hash.