Fix "PrintString" memory issue

Added a static local char array to "PrintString" to be modified and
printed rather than the original string pointed to by "str", thus fixing
a memory-related issue that caused the game to crash.