Update upb to the latest in 21.x branch

Some of the commits needed from this branch are:
- Do not have globs that do not glob anything
- Do not use platfroms from bazel_tools

This is needed in order to flip the disallowance of empty globs

Closes #16343.

PiperOrigin-RevId: 481937047
Change-Id: I1754f7abf848d9be57574ed4310ed455a03ec7af
diff --git a/distdir_deps.bzl b/distdir_deps.bzl
index 8251b51..8177ff7 100644
--- a/distdir_deps.bzl
+++ b/distdir_deps.bzl
@@ -185,12 +185,12 @@
         ],
     },
     "upb": {
-        "archive": "e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz",
-        "sha256": "03b642a535656560cd95cab3b26e8c53ce37e472307dce5bb7e47c9953bbca0f",
-        "strip_prefix": "upb-e5f26018368b11aab672e8e8bb76513f3620c579",
+        "archive": "a5477045acaa34586420942098f5fecd3570f577.tar.gz",
+        "sha256": "cf7f71eaff90b24c1a28b49645a9ff03a9a6c1e7134291ce70901cb63e7364b5",
+        "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577",
         "urls": [
-            "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz",
-            "https://github.com/protocolbuffers/upb/archive/e5f26018368b11aab672e8e8bb76513f3620c579.tar.gz",
+            "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz",
+            "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz",
         ],
         "used_in": [
             "additional_distfiles",