kbuild: add a script to remove stale generated files