[Bug 37660] regression after "st/mesa: rewrite st_choose_format() to be table driven"