vsprintf: unify the format decoding layer for its 3 users, cleanup