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.