ZeroGS: Explicitly convert the LPVOID buffer to a const char*

Also make the failure case for one of these log calls an ERROR_LOG.
ZeroGS: Add a missing formatter to a sprintf call
ZeroGS: Change the preprocessor macro in the DX version for frame dumping to _DEBUG

Keeps it consistent with the OGL side of things.