avformat/img2enc: simplify split planes extension selection.