[XLA:GPU] Add a util to reset programs count and deflake `gpu_compiler_test`.
[XLA:GPU] Add a util to reset programs count and deflake `gpu_compiler_test`.

Previously, running `gpu_compiler_test` in different orders would yield
different results for `GpuCompilerTest.CompiledProgramsCount`.
