update-common: generate autogen.sh from template for selected modules