avcodec/pictordec: run av_image_check_size() unconditionally