y4m: perform file offset math in uint64_t

--HG--
extra : rebase_source : 82c658d30b99218e61ab95155ca9bb8926084a6e
yuv: prevent 32bit compiler warnings

--HG--
branch : stable
Merge with stable