avformat/img2dec: enable generic seeking for image pipes