Don't use sprintf_s on MinGW, since snprintf is provided
Don't use sprintf_s on MinGW, since snprintf is provided

This fixes a serious bug when building for MinGW, where the network
backend would send random bytes of memory to the IIOD server.

The cause of the issue was found by @larsclausen, kudos!

Signed-off-by: Paul Cercueil <73d292422978d45c9eeef455bb1b24a0db453722@analog.com>

analogdevicesinc/libiio,gburca/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,gburca/libiio,gburca/libiio