scripts: Add a script to rebase branches from old modules into monorepo