avcodec/y41pdec: Fix width in input buffer size check