Add depends_on and caveats clauses for onyx

Add MacOS version dependencies in the style of #7760.
Also add caveat for OS 10.4-5 as in the casks for Deeper
and Maintenance.
Merge pull request #7782 from jawshooah/onyx-depends-caveats

Add depends_on and caveats clauses for onyx