remove homebrew-fork extend Pathname#version

apparently unused
Merge pull request #8426 from rolandwalker/homebrew_remove_extend_pathname_version

remove homebrew-fork extend `Pathname#version`