mesa: add glsl_type ref to one_time_init and decref to atexit

This fixes problems spotted within vk-gl-cts. Problem is that the builtin
functions refer to types and we should not release types before builtins
are released.

Fixes: 624789e3 ("compiler/glsl: handle case where we have multiple users for types")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110796
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
11 jobs for !1577 with move_glsl_type_dtor_to_atexit in 38 minutes and 35 seconds (queued for 8 minutes and 52 seconds)
detached
Status Job ID Name Coverage
  Containers Build
passed #476646
debian

00:00:43

 
  Build+Test
passed #476648
meson-clang

00:10:54

passed #476651
meson-clover-llvm

00:03:49

passed #476652
meson-clover-llvm39

00:01:16

passed #476650
meson-main

00:05:12

passed #476647
meson-swr-glvnd

00:05:57

passed #476649
meson-vulkan

00:03:04

passed #476654
scons-llvm

00:06:17

passed #476653
scons-nollvm

00:02:51

passed #476655
scons-swr

00:07:02

passed #476656
scons-win64

00:11:59