Bump com.github.spotbugs from 5.2.5 to 6.0.4 in /lib/kotlin

Bumps com.github.spotbugs from 5.2.5 to 6.0.4.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/lib/java/build.gradle b/lib/java/build.gradle
index 4c842ff..5e8e436 100644
--- a/lib/java/build.gradle
+++ b/lib/java/build.gradle
@@ -41,7 +41,7 @@
     id 'signing'
     id 'pmd'
     id 'com.github.johnrengelman.shadow' version '8.1.1'
-    id "com.github.spotbugs" version "5.2.5"
+    id "com.github.spotbugs" version "6.0.4"
     id "com.diffplug.spotless" version "6.23.2"
 }