Fix integer overflow in vfwprintf. Fixes bug 14286.