[groovy] move `PsiUtil#isCompileStatic` to cs.kt and make it accept not-null argument