avformat/img2dec: initialize pkt->pos for image pipes