Remove the obsolete "// +build" form which hasn't been needed since Go
1.18, and remove the Go 1.23 build directives as that matches our
minimum version now.
Use the composed RoutePattern() value instead of the per-router
routePattern field so nested routes populate http.Request.Pattern
correctly on Go 1.23+.
Fixes#1089