tests: Do not crash when failing to create a shader cache.
This recently started to happen on the Windows 11 machines I use to run tests. I don't know what changed, probably some software updated. I still have to investigate the problem, but I would like to keep running all the other tests while this isn't sorted out.