rm some unused methods from homebrew-fork mac.rb
Merge pull request #8393 from rolandwalker/remove_homebrew_mac_methods

remove some unused methods from homebrew-fork `os/mac.rb`