CPack/productbuild: add options to control domains element

The domains element determines the required authorization level needed
for the install. The auth attribute of the pkg-ref element has been
deprecated in favor of domains, so if the domains options are
specified, the auth attribute is omitted.

Fixes: #23030
33 jobs for !6825 with cpack-pkg-domains in 16 minutes and 53 seconds
latest merge request