avcodec/huffyuvdec: Test vertical coordinate more often