library/gsup: improve GSUP_IE templates* Turn template params into templates* Use proper template restrictions* Remove unnecessary valueof()s* Improve formattingChange-Id: I67cc555a54113dccb11d0cc05cee66f5c2d795fe