stage1/codegen: replace sprintf() with snprintf()

Calling sprintf() is now triggering an error on Xcode 14.

Using snprintf() is generally not a bad idea anyway.
f3333a56e8Frank Denis committed on 7/11/2022, 2:59:25 AM· committed by Andrew Kelleyparentb9ed072
1 file changedLine totals unavailable