Fix missing va_end issue in sdb_fmt