anv/pipeline_cache: fix incorrect guards for NIR cache