avformat/avidec: ensure that palette does not contain the BottomUp info.