gif: remove unused AVFrame from encoder private context