avcodec/rawdec: Check side data size before use