libslc: Fix bug in t3__vsprintf and unit_test.h