update hashcat.rb to use depends_on :formula

This is the only Cask with `depends_on_formula` in the main repo.
Merge pull request #6140 from rolandwalker/hashcat_depends_on

update hashcat.rb to use depends_on :formula