Simpler solution for the format escaping problem

Instead of passing the buffer as a format string to sampgdk_logprintf(), pass
it as an argument of %s, which will simply ignore remaining specifiers.