darwin: fix frameworks required for avfoundation backend


The cmake build system (and the pch mirroring it) pulled in more
dependencies than actually requried, while missing to link others on the
required platforms.
Aligning the build system with what the plugin needs.

Pick-to: 6.12
Change-Id: I60c1d41836ca9584116f62e4ee7fc87478f03060
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commitf16fd150bac3c0b0ece3c73fb86bac207d646532
parentb3a7c53870b062aa12ed5697268ed44cecd97f3f
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 31 Aug 2026 06:54:46 +0000