pipewire fix handling of spa_pod_parse_object result


Apparenly older spa version returned 0 when spa_pod_parse_object
succeeds, while it now returns the number of objects. So let's invert
the error handling logic and check for the error state (negative) return
value.

Pick-to: 6.12
Change-Id: I40117ff68af390a1d924b962021989e89cfb54dd
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commiteb46bd47037f67009e180b57bf2f5b04e2e44379
parent1a75f34778b1be36df4530be50a5ca9380644cae
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 19 Aug 2026 23:49:20 +0000