rawdec: check avpicture_get_size() return value