avcodec/rawenc: drop sizeof(AVFrame) dependency