go.mod: update golang.org/x dependencies

Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I9cf9639d61458eafb78ce1f19b9bdcbc99fb148b
Reviewed-on: https://go-review.googlesource.com/c/mod/+/734780
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
diff --git a/go.mod b/go.mod
index 3717e95..9de8c5a 100644
--- a/go.mod
+++ b/go.mod
@@ -2,4 +2,4 @@
 
 go 1.24.0
 
-require golang.org/x/tools v0.39.0 // tagx:ignore
+require golang.org/x/tools v0.40.0 // tagx:ignore
diff --git a/go.sum b/go.sum
index ee24b26..711a6ed 100644
--- a/go.sum
+++ b/go.sum
@@ -1,2 +1,2 @@
-golang.org/x/tools v0.39.0 h1:ik4ho21kwuQln40uelmciQPp9SipgNDdrafrYA4TmQQ=
-golang.org/x/tools v0.39.0/go.mod h1:JnefbkDPyD8UU2kI5fuf8ZX4/yUeh9W877ZeBONxUqQ=
+golang.org/x/tools v0.40.0 h1:yLkxfA+Qnul4cs9QA3KnlFu0lVmd8JJfoq+E41uSutA=
+golang.org/x/tools v0.40.0/go.mod h1:Ik/tzLRlbscWpqqMRjyWYDisX8bG13FrdXp3o4Sr9lc=