Fix compilation error

The diagnostic was introduced in Kotlin compiler 0.6.165