tgsi: correct handling of return value from util_vsnprintf