Use vsnprintf instead of vsprintf in 2d\font.cpp
Don't truncate callback pointer to midiStreamOpen in hmp_play().

- This is obviously busted on NT64.
It helps to pass the right length to bind().

- Fixes a break with -DIPv6 under Win32.