build: i18n-scan.pl: add support for ucode sources and templates