Update supported go versions

With the release of go 1.24.0, go 1.22.x is no longer supported. Update
supported go versions to go 1.23 and go 1.24.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9dfb62e..5de8086 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -135,8 +135,8 @@
     strategy:
       matrix:
         go:
-          - '1.22'
           - '1.23'
+          - '1.24'
       fail-fast: false
     steps:
       - uses: actions/checkout@v4
@@ -180,7 +180,7 @@
         run: make -C test/go precross
 
       - name: Upload go precross artifacts
-        if: matrix.go == '1.23'
+        if: matrix.go == '1.24'
         uses: actions/upload-artifact@v4
         with:
           name: go-precross