st/mesa: don't search through shader variants if there is only one