tree-wide: fix spelling errors

Based on a report from Fossies.org using Codespell.

Followup to #15436
diff --git a/tools/update-dbus-docs.py b/tools/update-dbus-docs.py
index 6d790bc..95a22be 100755
--- a/tools/update-dbus-docs.py
+++ b/tools/update-dbus-docs.py
@@ -279,7 +279,7 @@
         subst_output(xml, pl)
 
     out_text = etree.tostring(xml, encoding='unicode')
-    # massage format to avoid some lxml whitespace handling idiosyncracies
+    # massage format to avoid some lxml whitespace handling idiosyncrasies
     # https://bugs.launchpad.net/lxml/+bug/526799
     out_text = (src[:src.find('<refentryinfo')] +
                 out_text[out_text.find('<refentryinfo'):] +