str: Fix bugs in ds_put_c_vformat().