Adds Engine::Log::printf so that console output appears on Windows.

Also fixes an issue with atomic compare and swap on Windows release
where it was optimizing out the stack pushes of the information. I just
directly reference it so that it doesn't do that.