lottie/vector: use snprintf instead of sprintf.