yuv: prevent 32bit compiler warnings

--HG--
branch : stable