Fix problem with caching llvm.core.Value objects.