[sgen] Honor `--disable-major`.