FFmpeg: CodecStorage - simplify codecAvailableOnDevice handling


We had two checks for codecAvailableOnDevice: one only for mediacodec
encoders, and a late generic one.
We only apply the check once early in the function and assert that we
(for now) only use this codepath on android.

Pick-to: 6.12
Change-Id: I315283fffd1754ceb9b8df41687d65c6323655c1
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
commit03a1d1368ffe963c78a37bad8944c7eab5836253
parent86b9c07921ab91e7d4b568446840248eee0b1805
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 8 Sep 2026 10:05:28 +0000