avcodec/y41pdec: Avoid using float for size test