productbuild: Don't write rootVolumeOnly attribute if writing domains

The rootVolumeOnly attribute is deprecated. Apple docs say to use
domains instead.

Fixes: #23343
45 jobs for !7092 with productbuild-rootVolumeOnly in 64 minutes and 51 seconds (queued for 4 seconds)
latest merge request