Backport of "v4l2codecs: Don't unref allocation query caps" into 1.24
requested to merge gstreamer-backport-bot/gstreamer:mr-6679-backport-into-1.24-v4l2codecs-critical-assertion into 1.24
Backport of !6679 (merged) "v4l2codecs: Don't unref allocation query caps".
Commits:
- e34f765a v4l2codecs: Don't unref allocation query caps