scripts/python: Align with kbuild.
The port to python3 happened independently in kernel-source and kbuild
creating some source differences.
These differences cause problems with applying patches across different
repositories. Align the sources by removing trivial differences.