v3d: Move GL shader state dumping out of per-version compilation.