vsprintf_nolocale: restore previous locale after use.
Clean up vsprintf_nolocale.