v4l2: use v4l2_memory enum instead of naked integers


To make the code a little more expressive

Pick-to: 6.12
Change-Id: Ib8fc60909c109c65e07a8e0dd6de78a4697cac4d
Reviewed-by: Mikko Hallamaa <mikko.hallamaa@qt.io>
commit8e85eab7b1dc5a88f64b107d1b6c5ef6950cc59f
parent4d7a383e3c89c0a70ae0fce2b3f0dd852ee669ad
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 21 Oct 2026 08:11:21 +0000