Add a cheaty nqp::sprintf(...).

Based on code by thecabinet++. Mostly added so we can uncomment the
couple of places NQP uses it, but should basically work. An NQP
implementation of this would work even better, though.
A little more syncing with Parrot NQP.