st/mesa: simplify the signature of st_release_basic_variants