Kotlin builder: avoid initialization of incremental caches in 'close' method (KT-6409)
Added test checking that we don't create Kotlin incremental caches for targets without Kotlin.