lavu: add snprintf(), vsnprint() and strtod() replacements for MS runtime.