common: Reduce amount of templates in utf_convert.h