avcodec/snowdec: Fix integer overflow in header parsing