avcodec/cdxl: Check format for BGR24