compiler/libec: Fixed warning on using templated type with printf