test1515: fix compilation with msvc

... or any other systems lacking a native snprintf