iio.c: Replace sprintf with snprintf
iio.c: Replace sprintf with snprintf

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

petreeftime/mraa,ProfFan/mraa,yongli3/mraa,Pillar1989/mraa,intel-iot-devkit/mraa,g-vidal/mraa,jontrulson/mraa,yongli3/mraa,ProfFan/mraa,ncrastanaren/mraa,spitfire88/mraa,sergev/mraa,spitfire88/mraa,w4ilun/mraa,KurtE/mraa,anonymouse64/mraa,stefan-andritoiu/mraa-gpio-chardev,KurtE/mraa,g-vidal/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa,spitfire88/mraa,Hbrinj/mraa,intel-iot-devkit/mraa,andreivasiliu2211/mraa,arfoll/mraa,Propanu/mraa,sergev/mraa,stefan-andritoiu/mraa-gpio-chardev,Pillar1989/mraa,intel-iot-devkit/mraa,Propanu/mraa,alext-mkrs/mraa,malikabhi05/mraa,jontrulson/mraa,yongli3/mraa,Jon-ICS/mraa,whbruce/mraa,ncrastanaren/mraa,g-vidal/mraa,stefan-andritoiu/mraa-gpio-chardev,malikabhi05/mraa,ProfFan/mraa,petreeftime/mraa,malikabhi05/mraa,ProfFan/mraa,Hbrinj/mraa,sergev/mraa,arfoll/mraa,stefan-andritoiu/mraa,alext-mkrs/mraa,intel-iot-devkit/mraa,spitfire88/mraa,arfoll/mraa,whbruce/mraa,arunlee77/mraa,sergev/mraa,w4ilun/mraa,jontrulson/mraa,yongli3/mraa,stefan-andritoiu/mraa-gpio-chardev,KurtE/mraa,alext-mkrs/mraa,whbruce/mraa,Jon-ICS/mraa,Propanu/mraa,stefan-andritoiu/mraa,arunlee77/mraa,Pillar1989/mraa,ncrastanaren/mraa,KurtE/mraa,Hbrinj/mraa,yongli3/mraa,ncrastanaren/mraa,andreivasiliu2211/mraa,arfoll/mraa,Jon-ICS/mraa,alext-mkrs/mraa,Hbrinj/mraa,petreeftime/mraa,alext-mkrs/mraa,Propanu/mraa,stefan-andritoiu/mraa-gpio-chardev,ncrastanaren/mraa,g-vidal/mraa,whbruce/mraa,stefan-andritoiu/mraa,arunlee77/mraa,petreeftime/mraa,anonymouse64/mraa,w4ilun/mraa,jontrulson/mraa,andreivasiliu2211/mraa,malikabhi05/mraa,anonymouse64/mraa,KurtE/mraa,jontrulson/mraa,Propanu/mraa,malikabhi05/mraa,andreivasiliu2211/mraa,sergev/mraa,w4ilun/mraa,arfoll/mraa,arunlee77/mraa,intel-iot-devkit/mraa,g-vidal/mraa