compat/vsnprintf: return number of bytes required on truncation.