Revert "st/mesa: call nir_serialize only once per shader"