[PATCH AUTOSEL 6.17] docs: kernel-doc: avoid script crash on ancient Python