lowres: fix msys compile error

--HG--
branch : stable
Merge with stable