Fix sampgdk_do_vlogprintf() not null terminating output buffer

It turns out vsprintf_s() (the Microsoft version of vsnprintf) doesn't null
terminate the output buffer. This would result in a crash if the string
is too big to fit into the logprintf buffer.